package com.wwtech.epp.view.dynamicapp;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.wwtech.epp.R;

/**
 * 作者：Android on 2017/9/22
 * 邮箱：365941593@qq.com
 * 描述：
 */

public class ItemAppView extends LinearLayout {

    private TextView title;
    private TextView content;

    public TextView getTitle() {
        return title;
    }

    public void setTitle(TextView title) {
        this.title = title;
    }

    public TextView getContent() {
        return content;
    }

    public void setContent(TextView content) {
        this.content = content;
    }

    public ItemAppView(Context context) {
        super(context);
        init(context);
    }
    private void init(Context context) {
        View view = LayoutInflater.from(context).inflate(R.layout.appview_item, this, true);
        title = (TextView) view.findViewById(R.id.title);
        content = (TextView) view.findViewById(R.id.content);
    }
}
